//
//  PersonTableViewCell.m
//  WWXELuShang
//
//  Created by 王涛 on 15/12/23.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "PersonTableViewCell.h"

@implementation PersonTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.personView = [[UIImageView alloc] initWithFrame:(CGRectMake(kWidth / 15, kHeight / 12 / 2 - kHeight / 15 / 4, kHeight / 15 / 2, kHeight / 15 / 2))];
        [self addSubview:self.personView];
        
        self.nameLabel = [[UILabel alloc] initWithFrame:(CGRectMake(kWidth / 15 + kHeight / 20, kHeight / 12 / 2 - kHeight / 15 / 4, kWidth / 3.75, kHeight / 30))];
        self.nameLabel.font = [UIFont systemFontOfSize:16];
        self.nameLabel.textColor = [UIColor whiteColor];
        [self addSubview:self.nameLabel];
        
    }
    return self;
}







- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
